<!--继承公共模板-->
<extend name="Layout:jqweui"/>
<!--网页标题-->
<block name="title">应聘申请</block>

<!--内部样式-->
<block name="import_head">
<link rel="stylesheet" href="__PUBLIC__/common/hr/css/weui.min.css">
<link rel="stylesheet" href="__PUBLIC__/common/hr/css/weui.css">
<link rel="stylesheet" href="__PUBLIC__/common/hr/css/jquery-weui.css">
<link rel="stylesheet" href="__PUBLIC__/common/hr/css/enter.css">
<link rel="stylesheet" href="__PUBLIC__/common/hr/css/scale.css" type="text/css" />
</block>

<!--内部样式-->
<block name="style">
    <style>

    </style>
</block>

<!--页面内容-->
<block name="page">
<form id="Form" action="" method="post" onsubmit="return false">
    <div class="mainBox">
        <main class="main">
            <!--内容-->
            <section class="section">
                <div class="sectionList">
                    <section class="section">
                        <div class="weui_panel_hd">基本信息</div>
                    </section>
                    <!--基本信息-->
                    <section class="section">
                        <div class="weui_cells_form">
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label for="" class="weui_label"><span
                                            style="color: red;padding-right: 5px;">*</span>应聘日期</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input my-input yTime" name="yTime" id="my-input" type="text"
                                           value="">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span style="color: red;padding-right: 5px;">*</span>应聘职位</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary select">
                                    <input class="weui_input choice position" name="position" id="position" type="text"
                                           placeholder="-- 请选择 --">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span style="color: red;padding-right: 5px;">*</span>渠道类型</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary select">
                                    <input class="weui_input choice typeTrench" name="channel" id="typeTrench"
                                           type="text" placeholder="-- 请选择 --">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span style="color: red;padding-right: 5px;">*</span>应聘渠道</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary select">
                                    <input class="weui_input choice channel" name="channel" id="trench" type="text"
                                           placeholder="-- 请选择 --">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span
                                            style="color: red;padding-right: 5px;">*</span>姓名</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus name" name="myName" type="text"
                                           placeholder="请填写真实姓名">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span
                                            style="color: red;padding-right: 5px;">*</span>性别</label>
                                </div>
                                <div class=" weui_cells_checkbox">
                                    <label class="weui_cell weui_check_label label" for="x11">
                                        <div class="weui_cell_hd hd">
                                            <input type="radio" class="weui_check" name="radio1" value="女" id="x11"
                                                   checked="checked">
                                            <i class="weui_icon_checked"></i>
                                        </div>
                                        <div class="weui_cell_bd weui_cell_primary bd">
                                            <p>女</p>
                                        </div>
                                    </label>
                                    <label class="weui_cell weui_check_label label" for="x12">
                                        <div class="weui_cell_hd hd">
                                            <input type="radio" name="radio1" class="weui_check" value="男" id="x12">
                                            <i class="weui_icon_checked"></i>
                                        </div>
                                        <div class="weui_cell_bd weui_cell_primary bd">
                                            <p>男</p>
                                        </div>
                                    </label>
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label"><span
                                            style="color: red;padding-right: 5px;">*</span>手机</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input verify outfocus phone" name="phone" id="phone"
                                           type="number" placeholder="请填写个人常用号码">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">现居住地址</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus dz" name="address" type="text"
                                           placeholder="请填写现在详细住址">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">身份证号码</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input verify outfocus ssz" name="pattern" id="pattern"
                                           type="number" placeholder="请填写个人身份证号">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">婚姻状况</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary select">
                                    <input class="weui_input choice hy" name="marriage" id="marriage" type="text"
                                           placeholder="-- 请选择 --">
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--公司内有无亲属-->
                    <section>
                        <div class="weui_cell weui_cell_list">
                            <div class="weui_cell_hd specialL">
                                <label class="weui_cell_hd_label">本公司内有无亲友</label>
                            </div>
                            <div class="weui-cell__ft specialR">
                                <input class="weui-switch gs" id="gsqinyou" name="gsqinyou" type="checkbox">
                            </div>
                        </div>
                        <!--选中有的时候才显示-->
                        <div class="inputBox" style="display: none;">
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">姓名</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus gsName" type="text" placeholder="请填写亲友的姓名">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">与本人关系</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus gsGuan" type="text" placeholder="请填写与本人关系">
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--上、下游及同业竞争企业内有无亲属-->
                    <section>
                        <div class="weui_cell weui_cell_list">
                            <div class="weui_cell_hd specialL">
                                <label class="weui_cell_hd_label">上下游及同行公司有无亲友</label>
                            </div>
                            <div class="weui-cell__ft specialR">
                                <input class="weui-switch sx" id="sxqinyou" name="sxqinyou" type="checkbox">
                            </div>
                        </div>
                        <!--选中有的时候才显示-->
                        <div class="inputBox" style="display: none">
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">姓名</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus sxName" type="text" placeholder="请填写亲友的姓名">
                                </div>
                            </div>
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">与本人关系</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus sxGuan" type="text" placeholder="请填写与本人关系">
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--是否曾购买本公司产品或接受护肤服务-->
                    <section>
                        <div class="weui_cell weui_cell_list">
                            <div class="weui_cell_hd specialL">
                                <label class="weui_cell_hd_label">是否曾购买我司产品或接受服务</label>
                            </div>
                            <div class="weui-cell__ft specialR">
                                <input class="weui-switch buy" id="buy" name="buy" type="checkbox">
                            </div>
                        </div>
                        <!--选中有的时候才显示-->
                        <div class="inputBox" style="display: none">
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">姓名</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus buyName" type="text" placeholder="请填写所认识护肤老师的名字">
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--是否曾患遗传或重大疾病有不适合的工作-->
                    <section>
                        <div class="weui_cell weui_cell_list">
                            <div class="weui_cell_hd specialL">
                                <label class="weui_cell_hd_label">是否曾患重病有不适合安排的工作</label>
                            </div>
                            <div class="weui-cell__ft specialR">
                                <input class="weui-switch shihe" id="noShihe" name="noShihe" type="checkbox">
                            </div>
                        </div>
                        <!--选中有的时候才显示-->
                        <div class="inputBox" style="display: none">
                            <div class="weui_cell">
                                <div class="weui_cell_hd">
                                    <label class="weui_label">不适宜</label>
                                </div>
                                <div class="weui_cell_bd weui_cell_primary">
                                    <input class="weui_input outfocus noShihe" type="text" placeholder="请填写不适宜从事哪些工作">
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--分割线-->
                    <section class="section">
                        <div style="height: 10px;background: #f1f1f1"></div>
                    </section>
                    <!--上传简历-->
                    <section class="section">
                        <div class="weui_panel_hd">上传简历</div>
                        <div class="weui_cells_access weui_list">
                            <div class="button_sp_area btn_b">
                                <div class="btnText">上传简历</div>
                                <!--<input id="uploaderInput" class="weui-uploader__input" type="file" aaccept="image/jpeg, image/png, image/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, application/msword" multiple="" />-->
                                <input name="uploaderInput" class="weui-uploader__input file" type="file" id="FileUpload"
                                   accept="image/jpeg, image/png, image/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, application/msword"
                                       onchange='preview(this)' />
                                <div class="weui_media_desc"
                                     style="color: #999;line-height: 14px;font-size: 12px;padding: 10px 0;box-sizing: border-box;">
                                    注：上传简历最多上传4个附件，单个文件大小请勿超过2M。IOS11之前的系统请上传图片。
                                </div>
                                <!--<div class="img-cont"></div>-->
                                <div class="list">
                                    <div class="img-cont">
                                        <!--<img src="https://farm4.staticflickr.com/3894/15008518202_b016d7d289_m.jpg" />-->
                                        <!--<img src="https://farm6.staticflickr.com/5591/15008867125_68a8ed88cc_m.jpg" />-->
                                    </div>
                                </div>
                                <section class="imgzoom_pack">
                                    <div class="imgzoom_x">X</div>
                                    <div class="imgzoom_img"><img src="" /></div>
                                </section>
                            </div>
                        </div>
                    </section>

                    <!--分割线-->
                    <section class="section">
                        <div style="height: 10px;background: #f1f1f1"></div>
                    </section>
                    <!--创建简历-->
                    <section class="section">
                        <div class="weui_panel_hd">创建简历</div>
                        <div class="weui_cells_access weui_list">
                            <div class="button_sp_area btn_t" onclick="ulrHtml()">
                                <!--<a href="" >-->
                                <div class="btnText">创建简历</div>
                                <!--</a>-->
                            </div>
                        </div>
                    </section>

                    <!--个人承诺-->
                    <section class="section">
                        <div class="weui_media_box weui_media_text">
                            <p class="weui_media_desc">本人承诺：以上资料属实并愿意接受相应的调查与核实，如有虚假愿无条件接受公司处理或解除劳动合同。</p>
                        </div>
                    </section>
                </div>
            </section>

            <!--底部-->
            <section class="btnSubBox">
                <!--<div class="button_sp_area btnSubBox">-->
                <!--<div class="weui_btn">-->
                <input class="btnSub" id="btnSub" type="button" value="保存并提交"/>
                <!--</div>-->
                <!--</div>-->
            </section>

        </main>
    </div>
</form>
</block>

<!--尾部引入-->
<block name="import_foot">
<script src="__PUBLIC__/common/hr/js/jquery-3.3.1.min.js"></script>
<script src="__PUBLIC__/common/hr/js/jquery-weui.min.js"></script>
<script src="__PUBLIC__/common/hr/js/swiper.min.js"></script>
<script src="__PUBLIC__/common/hr/js/city-picker.min.js"></script>
<script src="__PUBLIC__/common/hr/js/scale.js"></script>
<script src="__PUBLIC__/common/hr/js/enter.js"></script>
</block>

<!--js代码-->
<block name="script">
    <script>

    </script>
</block>